package com.msb.apiBoss.service;

import com.msb.apiBoss.remote.ServiceDriverUserClient;
import com.msb.internalcommon.dto.DriverUser;
import com.msb.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.Driver;

/**
 * @Auther: jiudianliu
 * @Date: 2023/6/29 - 06 - 29 - 16:03
 * @Description: com.msb.apiBoss.service
 * @version: 1.0
 */
@Service
public class DriverUserService {

    @Autowired
    private ServiceDriverUserClient serviceDriverUserClient ;

    public ResponseResult addDriverUser(DriverUser driveruser){
        return serviceDriverUserClient.addDriverUser(driveruser);
    }

    public ResponseResult updateDriverUser(DriverUser driverUser){
        return serviceDriverUserClient.updateDriverUser(driverUser);
    }
}
